package com.zone.infrastructure.persistent.dao;

import com.zone.infrastructure.persistent.po.RuleTreeNode;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * @author: zongzi
 * @description: TODO
 * @date: 2024/6/13
 */
@Mapper
public interface IRuleTreeNodeDao {

    /**
     * 获取树节点
     *
     * @param treeId 规则树id
     * @return 树节点实体集合
     */
    List<RuleTreeNode> list(String treeId);

    List<RuleTreeNode> queryTreeNodeListByTreeId(@Param("treeIds") List<String> treeIds);
}
